package com.star.common.enums;

import com.star.common.base.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 审核状态
 *
 * @author yangzj
 */
@AllArgsConstructor
@Getter
public enum AuditStatus implements BaseEnum<Integer> {

    /**
     * （0待审核 1审核通过 2未通过）
     */
    WAIT(0, "待审核", "审核中"),
    OK(1, "通过", "审核通过"),
    REJECT(2, "未通过", "被驳回");

    private final Integer code;
    private final String name;
    private final String expand;

    @Override
    public String getTypeCode() {
        return "audit_status";
    }

    @Override
    public String getTypeName() {
        return "审核状态";
    }
}
